﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Business_NotFinish.aspx.cs" Inherits="Business_Business_NotFinish" MasterPageFile="../MasterPage.master" %>

<%@ Import Namespace="Common" %>
<%@ Import Namespace="DAL" %>
<%@ Register Src="Business_Left.ascx" TagName="Business_Left" TagPrefix="uc1" %>
<%@ Register Src="../common/Pager.ascx" TagName="Pager" TagPrefix="uc2" %>
<asp:Content ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table cellpadding="0" cellspacing="2" width="100%" border="0">
        <tr>
            <td class="leftTd" valign="top" width="25%">
                <uc1:Business_Left ID="Business_Left1" runat="server" />
            </td>
            <td width="98%" valign="top">
                <!-- 搜索栏begin -->
                <table width="98%" border="0" cellpadding="0" cellspacing="1" align="center" bgcolor="#000066">
                    <tr>
                        <td style="height: 30px;" colspan="14" class="banma22_1">
                            &nbsp;任务类型：
                            <asp:DropDownList ID="ClsID" runat="server">
                                <asp:ListItem Value="">- 请选择任务类型 - </asp:ListItem>
                            </asp:DropDownList>
                            &nbsp; 预约/任务状态：
                            <asp:DropDownList ID="txt_Type" runat="server">
                                <asp:ListItem Value="">- 请选择预约/任务类型-</asp:ListItem>
                                <asp:ListItem Value="1">┣&nbsp;任务已提交</asp:ListItem>
                                <asp:ListItem Value="2">┣&nbsp;任务已分配</asp:ListItem>
                                <asp:ListItem Value="4">┣&nbsp;任务处理中</asp:ListItem>
                                <asp:ListItem Value="5">┣&nbsp;任务未完成</asp:ListItem>
                                <asp:ListItem Value="6">┣&nbsp;任务已完成</asp:ListItem>
                            </asp:DropDownList>
                            &nbsp;关键字：<asp:TextBox ID="Keyword" runat="server" Width="60px" CssClass="face"></asp:TextBox>&nbsp;&nbsp;
                            <asp:TextBox ID="OneDate" runat="server" Width="70px" CssClass="face" Text="选择开始日期"></asp:TextBox>
                            &nbsp;&nbsp;<asp:TextBox ID="TwoDate" runat="server" Width="70px" CssClass="face" Text="选择结束日期"></asp:TextBox>&nbsp;&nbsp;
                            <asp:Button ID="Button1" runat="server" Text=" 搜 索 " CssClass="button" OnClick="submit_Click" />
                        </td>
                    </tr>
                </table>
                <br>
                <!-- 搜索栏end -->
                <!-- 任务已提交 begin -->
                <table cellpadding="0" cellspacing="0" width="100%" border="0" align="center">
                    <tr>
                        <td class="titleStyle">
                            预约状态 >> 未完成 >> 任务已提交 (<%= GetQuery(Query) %>)
                        </td>
                    </tr>
                </table>
                <br />
                <table width="98%" border="0" cellpadding="0" cellspacing="1" align="center" bgcolor="#000066">
                    <asp:ListView ID="Lv_News1" runat="server" OnItemCommand="Lv_News1_ItemCommand" OnItemDataBound="Lv_News1_ItemDataBound">
                        <LayoutTemplate>
                            <tr>
                                <td style="height: 30px; width: 5%;" class="banma1 TextCenters">
                                    序号
                                </td>
                                <td style="width: 9%;" class="banma1 TextCenters">
                                    预约状态
                                </td>
                                <td style="width: 6%;" class="banma1 TextCenters">
                                    服务工程师
                                </td>
                                <td style="height: 30px; width: 7%;" class="banma1 TextCenters">
                                    客户名称
                                </td>
                                <td style="height: 30px; width: 7%;" class="banma1 TextCenters">
                                    服务类型
                                </td>
                                <td style="width: 10%;" class="banma1 TextCenters">
                                    预约描述
                                </td>
                                <td id="SheduleTime" runat="server" style="width: 12%;" class="banma1 TextCenters">
                                    预约处理时段
                                </td>
                                <td id="DoTime" runat="server" style="width: 12%;" class="banma1 TextCenters">
                                    处理时间段
                                </td>
                                <td style="width: 8%;" class="banma1 TextCenters">
                                    服务时间
                                </td>
                                <td style="width: 8%;" class="banma1 TextCenters">
                                    操作时间
                                </td>
                                <td style="width: 6%;" class="banma1 TextCenters">
                                    操作人
                                </td>
                                <td style="width: 7%;" class="banma1 TextCenters">
                                    操作
                                </td>
                            </tr>
                            <tr id="itemPlaceholder" runat="server">
                            </tr>
                        </LayoutTemplate>
                        <ItemTemplate>
                            <tr>
                                <td class="banma22_2" style="height: 25px; text-align: center;">
                                    <a class="thickbox" href="../Business/Business_View.aspx?NewsKey=<%# Eval("NewsKey") %>&KeepThis=true&TB_iframe=true&height=550&width=650">
                                        <%# Eval("DanNum")%></a>
                                    <asp:Panel ID="P_Fetch" runat="server" Visible='<%# Eval("ClsID").ToString().Contains("4")?true:false %>'>
                                        送/取：<%# Eval("Fetch_FetchType")%><br>
                                        单 号：<%# Eval("Fetch_DanNum")%>
                                    </asp:Panel>
                                    <asp:Panel ID="P_Quote" runat="server" Visible='<%# Eval("ClsID").ToString().Contains("6")?true:false %>'>
                                        报价：<%# Eval("Quote_StockType")%><br>
                                        状态：<%# Eval("Quote_IsQuote")%><br>
                                        <asp:Label ID="L_Price" runat="server" Text="价格：" Visible='<%# News.IsQuote(Eval("Quote_IsQuote")) %>'></asp:Label><%# Eval("Quote_Price").ToString() == "0" ? "" : Eval("Quote_Price").ToString() %>
                                    </asp:Panel>
                                </td>
                                <td class="banma22_2" style="height: 25px; text-align: center;">
                                    <%# Eval("TypeName")%>
                                </td>
                                <td class="banma22_2" style="height: 25px; text-align: center;">
                                    <%# Eval("MRealName")%>
                                </td>
                                <td class="banma22_2" style="height: 25px; text-align: center;">
                                    <a class="thickbox" href="../System/User_View.aspx?UserKey=<%# Eval("UserID") %>&KeepThis=true&TB_iframe=true&height=550&width=650">
                                        <%# Eval("UserName").ToString() %> (<%# new Account().GetAccountShortCompanyName(Convert.ToInt32(Eval("UserID"))) %>)
                                </td>
                                <td class="banma22_2" style="height: 25px; text-align: center;">
                                    <%# News.GetClsNameWithColor(Eval("ClsName")) %>
                                </td>
                                <td class="banma22_2" style="height: 25px; text-align: left;">
                                    <a class="thickbox" href="../Business/Business_View.aspx?NewsKey=<%# Eval("NewsKey") %>&KeepThis=true&TB_iframe=true&height=550&width=650">
                                        <%# WebUtility.GetStringByLen(Eval("Content_Cus").ToString(), 20)%></a>
                                </td>
                                <td id="SheduleTime" runat="server" class="banma22_2" style="height: 25px; text-align: center;">
                                    <%# WebUtility.DateTimeToShort(Eval("TechOneTime")) %><br>
                                    <%# WebUtility.DateTimeToShort(Eval("TechTwoTime")) %>
                                </td>
                                <td id="DoTime" runat="server" class="banma22_2" style="height: 25px; text-align: center;">
                                    <%# WebUtility.DateTimeToShort(Eval("TechFiveTime")) %><br>
                                    <%# WebUtility.DateTimeToShort(Eval("TechSixTime"))%>
                                </td>
                                <td class="banma22_2" style="height: 25px; text-align: center;">
                                    <%# WebUtility.GetTimeSpanH(Eval("TechFiveTime"), Eval("TechSixTime"))%><%# WebUtility.GetTimeSpanM(Eval("TechFiveTime"), Eval("TechSixTime"))%>
                                </td>
                                <td class="banma22_2" style="height: 25px; text-align: center;">
                                    <%# WebUtility.DateTimeToString(Eval("UpdateTime"))%>
                                </td>
                                <td class="banma22_2" style="height: 25px; text-align: center;">
                                    <a class="thickbox" href="../System/User_View.aspx?UserKey=<%# Eval("UserKey") %>&KeepThis=true&TB_iframe=true&height=350&width=650">
                                        <%# GetUserRealName(Convert.ToInt32(Eval("UserKey")))%></a>
                                </td>
                                <td class="banma22_2" style="height: 25px; text-align: center;">
                                    <asp:LinkButton ID="del" runat="server" CommandName="del" CommandArgument='<%#Eval("NewsKey") %>' OnClientClick="return confirm('确认删除？');">删除</asp:LinkButton>
                                    <% if (UserType == 2 || UserType == 4)
                                       { %>
                                    <a style="display: <%# Eval("Type").ToString()=="1"?"block":"none" %>" class="thickbox" href="../Business/Business_Shedule.aspx?menutype=<%= MenuType %>&Type=<%= Type1 %>&NewsKey=<%# Eval("NewsKey") %>&KeepThis=true&TB_iframe=true&height=550&width=650">任务分配</a>
                                    <% } %>
                                    <% if (UserType == 2 || UserType == 3 || UserType == 4)
                                       { %>
                                    <a style="display: <%# Eval("Type").ToString()!="1"?"block":"none" %>" class="thickbox" href="../Business/Business_Do.aspx?menutype=<%= MenuType %>&Type=<%= Type1 %>&NewsKey=<%# Eval("NewsKey") %>&KeepThis=true&TB_iframe=true&height=550&width=650">任务处理</a>
                                    <% } %>
                                </td>
                            </tr>
                        </ItemTemplate>
                        <AlternatingItemTemplate>
                            <tr>
                                <td class="banma22_1" style="height: 25px; text-align: center;">
                                    <a class="thickbox" href="../Business/Business_View.aspx?NewsKey=<%# Eval("NewsKey") %>&KeepThis=true&TB_iframe=true&height=550&width=650">
                                        <%# Eval("DanNum")%></a>
                                    <asp:Panel ID="P_Fetch" runat="server" Visible='<%# Eval("ClsID").ToString().Contains("4")?true:false %>'>
                                        送/取：<%# Eval("Fetch_FetchType")%><br>
                                        单 号：<%# Eval("Fetch_DanNum")%>
                                    </asp:Panel>
                                    <asp:Panel ID="P_Quote" runat="server" Visible='<%# Eval("ClsID").ToString().Contains("6")?true:false %>'>
                                        报价：<%# Eval("Quote_StockType")%><br>
                                        状态：<%# Eval("Quote_IsQuote")%><br>
                                        <asp:Label ID="L_Price" runat="server" Text="价格：" Visible='<%# News.IsQuote(Eval("Quote_IsQuote")) %>'></asp:Label><%# Eval("Quote_Price").ToString() == "0" ? "" : Eval("Quote_Price").ToString() %>
                                    </asp:Panel>
                                </td>
                                <td class="banma22_1" style="height: 25px; text-align: center;">
                                    <%# Eval("TypeName")%>
                                </td>
                                <td class="banma22_1" style="height: 25px; text-align: center;">
                                    <%# Eval("MRealName")%>
                                </td>
                                <td class="banma22_1" style="height: 25px; text-align: center;">
                                    <a class="thickbox" href="../System/User_View.aspx?UserKey=<%# Eval("UserID") %>&KeepThis=true&TB_iframe=true&height=550&width=650">
                                        <%# Eval("UserName").ToString() %> (<%# new Account().GetAccountShortCompanyName(Convert.ToInt32(Eval("UserID"))) %>)
                                </td>
                                <td class="banma22_1" style="height: 25px; text-align: center;">
                                    <%# News.GetClsNameWithColor(Eval("ClsName")) %>
                                </td>
                                <td class="banma22_1" style="height: 25px; text-align: left;">
                                    <a class="thickbox" href="../Business/Business_View.aspx?NewsKey=<%# Eval("NewsKey") %>&KeepThis=true&TB_iframe=true&height=550&width=650">
                                        <%# WebUtility.GetStringByLen(Eval("Content_Cus").ToString(), 20)%></a>
                                </td>
                                <td id="SheduleTime" runat="server" class="banma22_1" style="height: 25px; text-align: center;">
                                    <%# WebUtility.DateTimeToShort(Eval("TechOneTime")) %><br>
                                    <%# WebUtility.DateTimeToShort(Eval("TechTwoTime")) %>
                                </td>
                                <td id="DoTime" runat="server" class="banma22_1" style="height: 25px; text-align: center;">
                                    <%# WebUtility.DateTimeToShort(Eval("TechFiveTime"))%><br>
                                    <%# WebUtility.DateTimeToShort(Eval("TechSixTime")) %>
                                </td>
                                <td class="banma22_1" style="height: 25px; text-align: center;">
                                    <%# WebUtility.GetTimeSpanH(Eval("TechFiveTime"), Eval("TechSixTime"))%><%# WebUtility.GetTimeSpanM(Eval("TechFiveTime"), Eval("TechSixTime"))%>
                                </td>
                                <td class="banma22_1" style="height: 25px; text-align: center;">
                                    <%# WebUtility.DateTimeToString(Eval("UpdateTime"))%>
                                </td>
                                <td class="banma22_1" style="height: 25px; text-align: center;">
                                    <a class="thickbox" href="../System/User_View.aspx?UserKey=<%# Eval("UserKey") %>&KeepThis=true&TB_iframe=true&height=350&width=650">
                                        <%# GetUserRealName(Convert.ToInt32(Eval("UserKey")))%></a>
                                </td>
                                <td class="banma22_1" style="height: 25px; text-align: center;">
                                    <asp:LinkButton ID="del" runat="server" CommandName="del" CommandArgument='<%#Eval("NewsKey") %>' OnClientClick="return confirm('确认删除？');">删除</asp:LinkButton>
                                    <% if (UserType == 2 || UserType == 4)
                                       {  %>
                                    <a style="display: <%# Eval("Type").ToString()=="1"?"block":"none" %>" class="thickbox" href="../Business/Business_Shedule.aspx?menutype=<%= MenuType %>&Type=<%= Type1 %>&NewsKey=<%# Eval("NewsKey") %>&KeepThis=true&TB_iframe=true&height=550&width=650">任务分配</a>
                                    <% } %>
                                    <% if (UserType == 2 || UserType == 3 || UserType == 4)
                                       { %>
                                    <a style="display: <%# Eval("Type").ToString()!="1"?"block":"none" %>" class="thickbox" href="../Business/Business_Do.aspx?menutype=<%= MenuType %>&Type=<%= Type1 %>&NewsKey=<%# Eval("NewsKey") %>&KeepThis=true&TB_iframe=true&height=550&width=650">任务处理</a>
                                    <% } %>
                                </td>
                            </tr>
                        </AlternatingItemTemplate>
                    </asp:ListView>
                </table>
                <table width="98%" border="0" cellpadding="0" cellspacing="1" align="center">
                    <asp:DataPager ID="DataPager1" runat="server" PagedControlID="Lv_News1">
                        <Fields>
                            <asp:NumericPagerField CurrentPageLabelCssClass="currentpage" />
                        </Fields>
                    </asp:DataPager>
                </table>
                <!-- 任务已提交 end -->
                <!-- 任务已分配 begin -->
                <table cellpadding="0" cellspacing="0" width="100%" border="0" align="center">
                    <tr>
                        <td class="titleStyle">
                            预约状态 >> 未完成 >> 任务已分配 (<%= GetQuery(Query) %>)
                        </td>
                    </tr>
                </table>
                <br />
                <table width="98%" border="0" cellpadding="0" cellspacing="1" align="center" bgcolor="#000066">
                    <asp:ListView ID="Lv_News2" runat="server" OnItemCommand="Lv_News2_ItemCommand" OnItemDataBound="Lv_News2_ItemDataBound">
                        <LayoutTemplate>
                            <tr>
                                <td style="height: 30px; width: 5%;" class="banma1 TextCenters">
                                    序号
                                </td>
                                <td style="width: 9%;" class="banma1 TextCenters">
                                    预约状态
                                </td>
                                <td style="width: 6%;" class="banma1 TextCenters">
                                    服务工程师
                                </td>
                                <td style="height: 30px; width: 7%;" class="banma1 TextCenters">
                                    客户名称
                                </td>
                                <td style="height: 30px; width: 7%;" class="banma1 TextCenters">
                                    服务类型
                                </td>
                                <td style="width: 10%;" class="banma1 TextCenters">
                                    预约描述
                                </td>
                                <td id="SheduleTime" runat="server" style="width: 12%;" class="banma1 TextCenters">
                                    预约处理时段
                                </td>
                                <td id="DoTime" runat="server" style="width: 12%;" class="banma1 TextCenters">
                                    处理时间段
                                </td>
                                <td style="width: 8%;" class="banma1 TextCenters">
                                    服务时间
                                </td>
                                <td style="width: 8%;" class="banma1 TextCenters">
                                    操作时间
                                </td>
                                <td style="width: 6%;" class="banma1 TextCenters">
                                    操作人
                                </td>
                                <td style="width: 7%;" class="banma1 TextCenters">
                                    操作
                                </td>
                            </tr>
                            <tr id="itemPlaceholder" runat="server">
                            </tr>
                        </LayoutTemplate>
                        <ItemTemplate>
                            <tr>
                                <td class="banma22_2" style="height: 25px; text-align: center;">
                                    <a class="thickbox" href="../Business/Business_View.aspx?NewsKey=<%# Eval("NewsKey") %>&KeepThis=true&TB_iframe=true&height=550&width=650">
                                        <%# Eval("DanNum")%></a>
                                    <asp:Panel ID="P_Fetch" runat="server" Visible='<%# Eval("ClsID").ToString().Contains("4")?true:false %>'>
                                        送/取：<%# Eval("Fetch_FetchType")%><br>
                                        单 号：<%# Eval("Fetch_DanNum")%>
                                    </asp:Panel>
                                    <asp:Panel ID="P_Quote" runat="server" Visible='<%# Eval("ClsID").ToString().Contains("6")?true:false %>'>
                                        报价：<%# Eval("Quote_StockType")%><br>
                                        状态：<%# Eval("Quote_IsQuote")%><br>
                                        <asp:Label ID="L_Price" runat="server" Text="价格：" Visible='<%# News.IsQuote(Eval("Quote_IsQuote")) %>'></asp:Label><%# Eval("Quote_Price").ToString() == "0" ? "" : Eval("Quote_Price").ToString() %>
                                    </asp:Panel>
                                </td>
                                <td class="banma22_2" style="height: 25px; text-align: center;">
                                    <%# Eval("TypeName")%>
                                </td>
                                <td class="banma22_2" style="height: 25px; text-align: center;">
                                    <%# Eval("MRealName")%>
                                </td>
                                <td class="banma22_2" style="height: 25px; text-align: center;">
                                    <a class="thickbox" href="../System/User_View.aspx?UserKey=<%# Eval("UserID") %>&KeepThis=true&TB_iframe=true&height=550&width=650">
                                        <%# Eval("UserName").ToString() %> (<%# new Account().GetAccountShortCompanyName(Convert.ToInt32(Eval("UserID"))) %>)
                                </td>
                                <td class="banma22_2" style="height: 25px; text-align: center;">
                                    <%# News.GetClsNameWithColor(Eval("ClsName"))%>
                                </td>
                                <td class="banma22_2" style="height: 25px; text-align: left;">
                                    <a class="thickbox" href="../Business/Business_View.aspx?NewsKey=<%# Eval("NewsKey") %>&KeepThis=true&TB_iframe=true&height=550&width=650">
                                        <%# WebUtility.GetStringByLen(Eval("Content_Cus").ToString(), 20)%></a>
                                </td>
                                <td id="SheduleTime" runat="server" class="banma22_2" style="height: 25px; text-align: center;">
                                    <%# WebUtility.DateTimeToShort(Eval("TechOneTime")) %><br>
                                    <%# WebUtility.DateTimeToShort(Eval("TechTwoTime")) %>
                                </td>
                                <td id="DoTime" runat="server" class="banma22_2" style="height: 25px; text-align: center;">
                                    <%# WebUtility.DateTimeToShort(Eval("TechFiveTime")) %><br>
                                    <%# WebUtility.DateTimeToShort(Eval("TechSixTime"))%>
                                </td>
                                <td class="banma22_2" style="height: 25px; text-align: center;">
                                    <%# WebUtility.GetTimeSpanH(Eval("TechFiveTime"), Eval("TechSixTime"))%><%# WebUtility.GetTimeSpanM(Eval("TechFiveTime"), Eval("TechSixTime"))%>
                                </td>
                                <td class="banma22_2" style="height: 25px; text-align: center;">
                                    <%# WebUtility.DateTimeToString(Eval("UpdateTime"))%>
                                </td>
                                <td class="banma22_2" style="height: 25px; text-align: center;">
                                    <a class="thickbox" href="../System/User_View.aspx?UserKey=<%# Eval("UserKey") %>&KeepThis=true&TB_iframe=true&height=350&width=650">
                                        <%# GetUserRealName(Convert.ToInt32(Eval("UserKey")))%></a>
                                </td>
                                <td class="banma22_2" style="height: 25px; text-align: center;">
                                    <asp:LinkButton ID="del" runat="server" CommandName="del" CommandArgument='<%#Eval("NewsKey") %>' OnClientClick="return confirm('确认删除？');">删除</asp:LinkButton>
                                    <% if (UserType == 2 || UserType == 4)
                                       { %>
                                    <a style="display: <%# Eval("Type").ToString()=="1"?"block":"none" %>" class="thickbox" href="../Business/Business_Shedule.aspx?menutype=<%= MenuType %>&Type=<%= Type2 %>&NewsKey=<%# Eval("NewsKey") %>&KeepThis=true&TB_iframe=true&height=550&width=650">任务分配</a>
                                    <% } %>
                                    <% if (UserType == 2 || UserType == 3 || UserType == 4)
                                       { %>
                                    <a style="display: <%# Eval("Type").ToString()!="1"?"block":"none" %>" class="thickbox" href="../Business/Business_Do.aspx?menutype=<%= MenuType %>&Type=<%= Type2 %>&NewsKey=<%# Eval("NewsKey") %>&KeepThis=true&TB_iframe=true&height=550&width=650">任务处理</a>
                                    <% } %>
                                </td>
                            </tr>
                        </ItemTemplate>
                        <AlternatingItemTemplate>
                            <tr>
                                <td class="banma22_1" style="height: 25px; text-align: center;">
                                    <a class="thickbox" href="../Business/Business_View.aspx?NewsKey=<%# Eval("NewsKey") %>&KeepThis=true&TB_iframe=true&height=550&width=650">
                                        <%# Eval("DanNum")%></a>
                                    <asp:Panel ID="P_Fetch" runat="server" Visible='<%# Eval("ClsID").ToString().Contains("4")?true:false %>'>
                                        送/取：<%# Eval("Fetch_FetchType")%><br>
                                        单 号：<%# Eval("Fetch_DanNum")%>
                                    </asp:Panel>
                                    <asp:Panel ID="P_Quote" runat="server" Visible='<%# Eval("ClsID").ToString().Contains("6")?true:false %>'>
                                        报价：<%# Eval("Quote_StockType")%><br>
                                        状态：<%# Eval("Quote_IsQuote")%><br>
                                        <asp:Label ID="L_Price" runat="server" Text="价格：" Visible='<%# News.IsQuote(Eval("Quote_IsQuote")) %>'></asp:Label><%# Eval("Quote_Price").ToString() == "0" ? "" : Eval("Quote_Price").ToString() %>
                                    </asp:Panel>
                                </td>
                                <td class="banma22_1" style="height: 25px; text-align: center;">
                                    <%# Eval("TypeName")%>
                                </td>
                                <td class="banma22_1" style="height: 25px; text-align: center;">
                                    <%# Eval("MRealName")%>
                                </td>
                                <td class="banma22_1" style="height: 25px; text-align: center;">
                                    <a class="thickbox" href="../System/User_View.aspx?UserKey=<%# Eval("UserID") %>&KeepThis=true&TB_iframe=true&height=550&width=650">
                                        <%# Eval("UserName").ToString() %> (<%# new Account().GetAccountShortCompanyName(Convert.ToInt32(Eval("UserID"))) %>)
                                </td>
                                <td class="banma22_1" style="height: 25px; text-align: center;">
                                    <%# News.GetClsNameWithColor(Eval("ClsName"))%>
                                </td>
                                <td class="banma22_1" style="height: 25px; text-align: left;">
                                    <a class="thickbox" href="../Business/Business_View.aspx?NewsKey=<%# Eval("NewsKey") %>&KeepThis=true&TB_iframe=true&height=550&width=650">
                                        <%# WebUtility.GetStringByLen(Eval("Content_Cus").ToString(), 20)%></a>
                                </td>
                                <td id="SheduleTime" runat="server" class="banma22_1" style="height: 25px; text-align: center;">
                                    <%# WebUtility.DateTimeToShort(Eval("TechOneTime")) %><br>
                                    <%# WebUtility.DateTimeToShort(Eval("TechTwoTime")) %>
                                </td>
                                <td id="DoTime" runat="server" class="banma22_1" style="height: 25px; text-align: center;">
                                    <%# WebUtility.DateTimeToShort(Eval("TechFiveTime"))%><br>
                                    <%# WebUtility.DateTimeToShort(Eval("TechSixTime")) %>
                                </td>
                                <td class="banma22_1" style="height: 25px; text-align: center;">
                                    <%# WebUtility.GetTimeSpanH(Eval("TechFiveTime"), Eval("TechSixTime"))%><%# WebUtility.GetTimeSpanM(Eval("TechFiveTime"), Eval("TechSixTime"))%>
                                </td>
                                <td class="banma22_1" style="height: 25px; text-align: center;">
                                    <%# WebUtility.DateTimeToString(Eval("UpdateTime"))%>
                                </td>
                                <td class="banma22_1" style="height: 25px; text-align: center;">
                                    <a class="thickbox" href="../System/User_View.aspx?UserKey=<%# Eval("UserKey") %>&KeepThis=true&TB_iframe=true&height=350&width=650">
                                        <%# GetUserRealName(Convert.ToInt32(Eval("UserKey")))%></a>
                                </td>
                                <td class="banma22_1" style="height: 25px; text-align: center;">
                                    <asp:LinkButton ID="del" runat="server" CommandName="del" CommandArgument='<%#Eval("NewsKey") %>' OnClientClick="return confirm('确认删除？');">删除</asp:LinkButton>
                                    <% if (UserType == 2 || UserType == 4)
                                       {  %>
                                    <a style="display: <%# Eval("Type").ToString()=="1"?"block":"none" %>" class="thickbox" href="../Business/Business_Shedule.aspx?menutype=<%= MenuType %>&Type=<%= Type2 %>&NewsKey=<%# Eval("NewsKey") %>&KeepThis=true&TB_iframe=true&height=550&width=650">任务分配</a>
                                    <% } %>
                                    <% if (UserType == 2 || UserType == 3 || UserType == 4)
                                       { %>
                                    <a style="display: <%# Eval("Type").ToString()!="1"?"block":"none" %>" class="thickbox" href="../Business/Business_Do.aspx?menutype=<%= MenuType %>&Type=<%= Type2 %>&NewsKey=<%# Eval("NewsKey") %>&KeepThis=true&TB_iframe=true&height=550&width=650">任务处理</a>
                                    <% } %>
                                </td>
                            </tr>
                        </AlternatingItemTemplate>
                    </asp:ListView>
                </table>
                <table width="98%" border="0" cellpadding="0" cellspacing="1" align="center">
                    <asp:DataPager ID="DataPager2" runat="server" PagedControlID="Lv_News2">
                        <Fields>
                            <asp:NumericPagerField CurrentPageLabelCssClass="currentpage" />
                        </Fields>
                    </asp:DataPager>
                </table>
                <!-- 任务已分配 end -->
                <!-- 任务处理中 begin -->
                <table cellpadding="0" cellspacing="0" width="100%" border="0" align="center">
                    <tr>
                        <td class="titleStyle">
                            预约状态 >> 未完成 >> 任务处理中 (<%= GetQuery(Query) %>)
                        </td>
                    </tr>
                </table>
                <br />
                <table width="98%" border="0" cellpadding="0" cellspacing="1" align="center" bgcolor="#000066">
                    <asp:ListView ID="Lv_News3" runat="server" OnItemCommand="Lv_News3_ItemCommand" OnItemDataBound="Lv_News3_ItemDataBound">
                        <LayoutTemplate>
                            <tr>
                                <td style="height: 30px; width: 5%;" class="banma1 TextCenters">
                                    序号
                                </td>
                                <td style="width: 9%;" class="banma1 TextCenters">
                                    预约状态
                                </td>
                                <td style="width: 6%;" class="banma1 TextCenters">
                                    服务工程师
                                </td>
                                <td style="height: 30px; width: 7%;" class="banma1 TextCenters">
                                    客户名称
                                </td>
                                <td style="height: 30px; width: 7%;" class="banma1 TextCenters">
                                    服务类型
                                </td>
                                <td style="width: 10%;" class="banma1 TextCenters">
                                    预约描述
                                </td>
                                <td id="SheduleTime" runat="server" style="width: 12%;" class="banma1 TextCenters">
                                    预约处理时段
                                </td>
                                <td id="DoTime" runat="server" style="width: 12%;" class="banma1 TextCenters">
                                    处理时间段
                                </td>
                                <td style="width: 8%;" class="banma1 TextCenters">
                                    服务时间
                                </td>
                                <td style="width: 8%;" class="banma1 TextCenters">
                                    操作时间
                                </td>
                                <td style="width: 6%;" class="banma1 TextCenters">
                                    操作人
                                </td>
                                <td style="width: 7%;" class="banma1 TextCenters">
                                    操作
                                </td>
                            </tr>
                            <tr id="itemPlaceholder" runat="server">
                            </tr>
                        </LayoutTemplate>
                        <ItemTemplate>
                            <tr>
                                <td class="banma22_2" style="height: 25px; text-align: center;">
                                    <a class="thickbox" href="../Business/Business_View.aspx?NewsKey=<%# Eval("NewsKey") %>&KeepThis=true&TB_iframe=true&height=550&width=650">
                                        <%# Eval("DanNum")%></a>
                                    <asp:Panel ID="P_Fetch" runat="server" Visible='<%# Eval("ClsID").ToString().Contains("4")?true:false %>'>
                                        送/取：<%# Eval("Fetch_FetchType")%><br>
                                        单 号：<%# Eval("Fetch_DanNum")%>
                                    </asp:Panel>
                                    <asp:Panel ID="P_Quote" runat="server" Visible='<%# Eval("ClsID").ToString().Contains("6")?true:false %>'>
                                        报价：<%# Eval("Quote_StockType")%><br>
                                        状态：<%# Eval("Quote_IsQuote")%><br>
                                        <asp:Label ID="L_Price" runat="server" Text="价格：" Visible='<%# News.IsQuote(Eval("Quote_IsQuote")) %>'></asp:Label><%# Eval("Quote_Price").ToString() == "0" ? "" : Eval("Quote_Price").ToString() %>
                                    </asp:Panel>
                                </td>
                                <td class="banma22_2" style="height: 25px; text-align: center;">
                                    <%# Eval("TypeName")%>
                                </td>
                                <td class="banma22_2" style="height: 25px; text-align: center;">
                                    <%# Eval("MRealName")%>
                                </td>
                                <td class="banma22_2" style="height: 25px; text-align: center;">
                                    <a class="thickbox" href="../System/User_View.aspx?UserKey=<%# Eval("UserID") %>&KeepThis=true&TB_iframe=true&height=550&width=650">
                                        <%# Eval("UserName").ToString() %> (<%# new Account().GetAccountShortCompanyName(Convert.ToInt32(Eval("UserID"))) %>)
                                </td>
                                <td class="banma22_2" style="height: 25px; text-align: center;">
                                    <%# News.GetClsNameWithColor(Eval("ClsName"))%>
                                </td>
                                <td class="banma22_2" style="height: 25px; text-align: left;">
                                    <a class="thickbox" href="../Business/Business_View.aspx?NewsKey=<%# Eval("NewsKey") %>&KeepThis=true&TB_iframe=true&height=550&width=650">
                                        <%# WebUtility.GetStringByLen(Eval("Content_Cus").ToString(), 20)%></a>
                                </td>
                                <td id="SheduleTime" runat="server" class="banma22_2" style="height: 25px; text-align: center;">
                                    <%# WebUtility.DateTimeToShort(Eval("TechOneTime")) %><br>
                                    <%# WebUtility.DateTimeToShort(Eval("TechTwoTime")) %>
                                </td>
                                <td id="DoTime" runat="server" class="banma22_2" style="height: 25px; text-align: center;">
                                    <%# WebUtility.DateTimeToShort(Eval("TechFiveTime")) %><br>
                                    <%# WebUtility.DateTimeToShort(Eval("TechSixTime"))%>
                                </td>
                                <td class="banma22_2" style="height: 25px; text-align: center;">
                                    <%# WebUtility.GetTimeSpanH(Eval("TechFiveTime"), Eval("TechSixTime"))%><%# WebUtility.GetTimeSpanM(Eval("TechFiveTime"), Eval("TechSixTime"))%>
                                </td>
                                <td class="banma22_2" style="height: 25px; text-align: center;">
                                    <%# WebUtility.DateTimeToString(Eval("UpdateTime"))%>
                                </td>
                                <td class="banma22_2" style="height: 25px; text-align: center;">
                                    <a class="thickbox" href="../System/User_View.aspx?UserKey=<%# Eval("UserKey") %>&KeepThis=true&TB_iframe=true&height=350&width=650">
                                        <%# GetUserRealName(Convert.ToInt32(Eval("UserKey")))%></a>
                                </td>
                                <td class="banma22_2" style="height: 25px; text-align: center;">
                                    <asp:LinkButton ID="del" runat="server" CommandName="del" CommandArgument='<%#Eval("NewsKey") %>' OnClientClick="return confirm('确认删除？');">删除</asp:LinkButton>
                                    <% if (UserType == 2 || UserType == 4)
                                       { %>
                                    <a style="display: <%# Eval("Type").ToString()=="1"?"block":"none" %>" class="thickbox" href="../Business/Business_Shedule.aspx?menutype=<%= MenuType %>&Type=<%= Type3 %>&NewsKey=<%# Eval("NewsKey") %>&KeepThis=true&TB_iframe=true&height=550&width=650">任务分配</a>
                                    <% } %>
                                    <% if (UserType == 2 || UserType == 3 || UserType == 4)
                                       { %>
                                    <a style="display: <%# Eval("Type").ToString()!="1"?"block":"none" %>" class="thickbox" href="../Business/Business_Do.aspx?menutype=<%= MenuType %>&Type=<%= Type3 %>&NewsKey=<%# Eval("NewsKey") %>&KeepThis=true&TB_iframe=true&height=550&width=650">任务处理</a>
                                    <% } %>
                                </td>
                            </tr>
                        </ItemTemplate>
                        <AlternatingItemTemplate>
                            <tr>
                                <td class="banma22_1" style="height: 25px; text-align: center;">
                                    <a class="thickbox" href="../Business/Business_View.aspx?NewsKey=<%# Eval("NewsKey") %>&KeepThis=true&TB_iframe=true&height=550&width=650">
                                        <%# Eval("DanNum")%></a>
                                    <asp:Panel ID="P_Fetch" runat="server" Visible='<%# Eval("ClsID").ToString().Contains("4")?true:false %>'>
                                        送/取：<%# Eval("Fetch_FetchType")%><br>
                                        单 号：<%# Eval("Fetch_DanNum")%>
                                    </asp:Panel>
                                    <asp:Panel ID="P_Quote" runat="server" Visible='<%# Eval("ClsID").ToString().Contains("6")?true:false %>'>
                                        报价：<%# Eval("Quote_StockType")%><br>
                                        状态：<%# Eval("Quote_IsQuote")%><br>
                                        <asp:Label ID="L_Price" runat="server" Text="价格：" Visible='<%# News.IsQuote(Eval("Quote_IsQuote")) %>'></asp:Label><%# Eval("Quote_Price").ToString() == "0" ? "" : Eval("Quote_Price").ToString() %>
                                    </asp:Panel>
                                </td>
                                <td class="banma22_1" style="height: 25px; text-align: center;">
                                    <%# Eval("TypeName")%>
                                </td>
                                <td class="banma22_1" style="height: 25px; text-align: center;">
                                    <%# Eval("MRealName")%>
                                </td>
                                <td class="banma22_1" style="height: 25px; text-align: center;">
                                    <a class="thickbox" href="../System/User_View.aspx?UserKey=<%# Eval("UserID") %>&KeepThis=true&TB_iframe=true&height=550&width=650">
                                        <%# Eval("UserName").ToString() %> (<%# new Account().GetAccountShortCompanyName(Convert.ToInt32(Eval("UserID"))) %>)
                                </td>
                                <td class="banma22_1" style="height: 25px; text-align: center;">
                                    <%# News.GetClsNameWithColor(Eval("ClsName"))%>
                                </td>
                                <td class="banma22_1" style="height: 25px; text-align: left;">
                                    <a class="thickbox" href="../Business/Business_View.aspx?NewsKey=<%# Eval("NewsKey") %>&KeepThis=true&TB_iframe=true&height=550&width=650">
                                        <%# WebUtility.GetStringByLen(Eval("Content_Cus").ToString(), 20)%></a>
                                </td>
                                <td id="SheduleTime" runat="server" class="banma22_1" style="height: 25px; text-align: center;">
                                    <%# WebUtility.DateTimeToShort(Eval("TechOneTime")) %><br>
                                    <%# WebUtility.DateTimeToShort(Eval("TechTwoTime")) %>
                                </td>
                                <td id="DoTime" runat="server" class="banma22_1" style="height: 25px; text-align: center;">
                                    <%# WebUtility.DateTimeToShort(Eval("TechFiveTime"))%><br>
                                    <%# WebUtility.DateTimeToShort(Eval("TechSixTime")) %>
                                </td>
                                <td class="banma22_1" style="height: 25px; text-align: center;">
                                    <%# WebUtility.GetTimeSpanH(Eval("TechFiveTime"), Eval("TechSixTime"))%><%# WebUtility.GetTimeSpanM(Eval("TechFiveTime"), Eval("TechSixTime"))%>
                                </td>
                                <td class="banma22_1" style="height: 25px; text-align: center;">
                                    <%# WebUtility.DateTimeToString(Eval("UpdateTime"))%>
                                </td>
                                <td class="banma22_1" style="height: 25px; text-align: center;">
                                    <a class="thickbox" href="../System/User_View.aspx?UserKey=<%# Eval("UserKey") %>&KeepThis=true&TB_iframe=true&height=350&width=650">
                                        <%# GetUserRealName(Convert.ToInt32(Eval("UserKey")))%></a>
                                </td>
                                <td class="banma22_1" style="height: 25px; text-align: center;">
                                    <asp:LinkButton ID="del" runat="server" CommandName="del" CommandArgument='<%#Eval("NewsKey") %>' OnClientClick="return confirm('确认删除？');">删除</asp:LinkButton>
                                    <% if (UserType == 2 || UserType == 4)
                                       {  %>
                                    <a style="display: <%# Eval("Type").ToString()=="1"?"block":"none" %>" class="thickbox" href="../Business/Business_Shedule.aspx?menutype=<%= MenuType %>&Type=<%= Type3 %>&NewsKey=<%# Eval("NewsKey") %>&KeepThis=true&TB_iframe=true&height=550&width=650">任务分配</a>
                                    <% } %>
                                    <% if (UserType == 2 || UserType == 3 || UserType == 4)
                                       { %>
                                    <a style="display: <%# Eval("Type").ToString()!="1"?"block":"none" %>" class="thickbox" href="../Business/Business_Do.aspx?menutype=<%= MenuType %>&Type=<%= Type3 %>&NewsKey=<%# Eval("NewsKey") %>&KeepThis=true&TB_iframe=true&height=550&width=650">任务处理</a>
                                    <% } %>
                                </td>
                            </tr>
                        </AlternatingItemTemplate>
                    </asp:ListView>
                </table>
                <table width="98%" border="0" cellpadding="0" cellspacing="1" align="center">
                    <asp:DataPager ID="DataPager3" runat="server" PagedControlID="Lv_News3">
                        <Fields>
                            <asp:NumericPagerField CurrentPageLabelCssClass="currentpage" />
                        </Fields>
                    </asp:DataPager>
                </table>
                <!-- 任务处理中 end -->
                <!-- 任务未完成 begin -->
                <table cellpadding="0" cellspacing="0" width="100%" border="0" align="center">
                    <tr>
                        <td class="titleStyle">
                            预约状态 >> 未完成 >> 任务未完成 (<%= GetQuery(Query) %>)
                        </td>
                    </tr>
                </table>
                <br />
                <table width="98%" border="0" cellpadding="0" cellspacing="1" align="center" bgcolor="#000066">
                    <asp:ListView ID="Lv_News4" runat="server" OnItemCommand="Lv_News4_ItemCommand" OnItemDataBound="Lv_News4_ItemDataBound">
                        <LayoutTemplate>
                            <tr>
                                <td style="height: 30px; width: 5%;" class="banma1 TextCenters">
                                    序号
                                </td>
                                <td style="width: 9%;" class="banma1 TextCenters">
                                    预约状态
                                </td>
                                <td style="width: 6%;" class="banma1 TextCenters">
                                    服务工程师
                                </td>
                                <td style="height: 30px; width: 7%;" class="banma1 TextCenters">
                                    客户名称
                                </td>
                                <td style="height: 30px; width: 7%;" class="banma1 TextCenters">
                                    服务类型
                                </td>
                                <td style="width: 10%;" class="banma1 TextCenters">
                                    预约描述
                                </td>
                                <td id="SheduleTime" runat="server" style="width: 12%;" class="banma1 TextCenters">
                                    预约处理时段
                                </td>
                                <td id="DoTime" runat="server" style="width: 12%;" class="banma1 TextCenters">
                                    处理时间段
                                </td>
                                <td style="width: 8%;" class="banma1 TextCenters">
                                    服务时间
                                </td>
                                <td style="width: 8%;" class="banma1 TextCenters">
                                    操作时间
                                </td>
                                <td style="width: 6%;" class="banma1 TextCenters">
                                    操作人
                                </td>
                                <td style="width: 7%;" class="banma1 TextCenters">
                                    操作
                                </td>
                            </tr>
                            <tr id="itemPlaceholder" runat="server">
                            </tr>
                        </LayoutTemplate>
                        <ItemTemplate>
                            <tr>
                                <td class="banma22_2" style="height: 25px; text-align: center;">
                                    <a class="thickbox" href="../Business/Business_View.aspx?NewsKey=<%# Eval("NewsKey") %>&KeepThis=true&TB_iframe=true&height=550&width=650">
                                        <%# Eval("DanNum")%></a>
                                    <asp:Panel ID="P_Fetch" runat="server" Visible='<%# Eval("ClsID").ToString().Contains("4")?true:false %>'>
                                        送/取：<%# Eval("Fetch_FetchType")%><br>
                                        单 号：<%# Eval("Fetch_DanNum")%>
                                    </asp:Panel>
                                    <asp:Panel ID="P_Quote" runat="server" Visible='<%# Eval("ClsID").ToString().Contains("6")?true:false %>'>
                                        报价：<%# Eval("Quote_StockType")%><br>
                                        状态：<%# Eval("Quote_IsQuote")%><br>
                                        <asp:Label ID="L_Price" runat="server" Text="价格：" Visible='<%# News.IsQuote(Eval("Quote_IsQuote")) %>'></asp:Label><%# Eval("Quote_Price").ToString() == "0" ? "" : Eval("Quote_Price").ToString() %>
                                    </asp:Panel>
                                </td>
                                <td class="banma22_2" style="height: 25px; text-align: center;">
                                    <%# Eval("TypeName")%>
                                </td>
                                <td class="banma22_2" style="height: 25px; text-align: center;">
                                    <%# Eval("MRealName")%>
                                </td>
                                <td class="banma22_2" style="height: 25px; text-align: center;">
                                    <a class="thickbox" href="../System/User_View.aspx?UserKey=<%# Eval("UserID") %>&KeepThis=true&TB_iframe=true&height=550&width=650">
                                        <%# Eval("UserName").ToString() %> (<%# new Account().GetAccountShortCompanyName(Convert.ToInt32(Eval("UserID"))) %>)
                                </td>
                                <td class="banma22_2" style="height: 25px; text-align: center;">
                                    <%# News.GetClsNameWithColor(Eval("ClsName"))%>
                                </td>
                                <td class="banma22_2" style="height: 25px; text-align: left;">
                                    <a class="thickbox" href="../Business/Business_View.aspx?NewsKey=<%# Eval("NewsKey") %>&KeepThis=true&TB_iframe=true&height=550&width=650">
                                        <%# WebUtility.GetStringByLen(Eval("Content_Cus").ToString(), 20)%></a>
                                </td>
                                <td id="SheduleTime" runat="server" class="banma22_2" style="height: 25px; text-align: center;">
                                    <%# WebUtility.DateTimeToShort(Eval("TechOneTime")) %><br>
                                    <%# WebUtility.DateTimeToShort(Eval("TechTwoTime")) %>
                                </td>
                                <td id="DoTime" runat="server" class="banma22_2" style="height: 25px; text-align: center;">
                                    <%# WebUtility.DateTimeToShort(Eval("TechFiveTime")) %><br>
                                    <%# WebUtility.DateTimeToShort(Eval("TechSixTime"))%>
                                </td>
                                <td class="banma22_2" style="height: 25px; text-align: center;">
                                    <%# WebUtility.GetTimeSpanH(Eval("TechFiveTime"), Eval("TechSixTime"))%><%# WebUtility.GetTimeSpanM(Eval("TechFiveTime"), Eval("TechSixTime"))%>
                                </td>
                                <td class="banma22_2" style="height: 25px; text-align: center;">
                                    <%# WebUtility.DateTimeToString(Eval("UpdateTime"))%>
                                </td>
                                <td class="banma22_2" style="height: 25px; text-align: center;">
                                    <a class="thickbox" href="../System/User_View.aspx?UserKey=<%# Eval("UserKey") %>&KeepThis=true&TB_iframe=true&height=350&width=650">
                                        <%# GetUserRealName(Convert.ToInt32(Eval("UserKey")))%></a>
                                </td>
                                <td class="banma22_2" style="height: 25px; text-align: center;">
                                    <asp:LinkButton ID="del" runat="server" CommandName="del" CommandArgument='<%#Eval("NewsKey") %>' OnClientClick="return confirm('确认删除？');">删除</asp:LinkButton>
                                    <% if (UserType == 2 || UserType == 4)
                                       { %>
                                    <a style="display: <%# Eval("Type").ToString()=="1"?"block":"none" %>" class="thickbox" href="../Business/Business_Shedule.aspx?menutype=<%= MenuType %>&Type=<%= Type4 %>&NewsKey=<%# Eval("NewsKey") %>&KeepThis=true&TB_iframe=true&height=550&width=650">任务分配</a>
                                    <% } %>
                                    <% if (UserType == 2 || UserType == 3 || UserType == 4)
                                       { %>
                                    <a style="display: <%# Eval("Type").ToString()!="1"?"block":"none" %>" class="thickbox" href="../Business/Business_Do.aspx?menutype=<%= MenuType %>&Type=<%= Type4 %>&NewsKey=<%# Eval("NewsKey") %>&KeepThis=true&TB_iframe=true&height=550&width=650">任务处理</a>
                                    <% } %>
                                </td>
                            </tr>
                        </ItemTemplate>
                        <AlternatingItemTemplate>
                            <tr>
                                <td class="banma22_1" style="height: 25px; text-align: center;">
                                    <a class="thickbox" href="../Business/Business_View.aspx?NewsKey=<%# Eval("NewsKey") %>&KeepThis=true&TB_iframe=true&height=550&width=650">
                                        <%# Eval("DanNum")%></a>
                                    <asp:Panel ID="P_Fetch" runat="server" Visible='<%# Eval("ClsID").ToString().Contains("4")?true:false %>'>
                                        送/取：<%# Eval("Fetch_FetchType")%><br>
                                        单 号：<%# Eval("Fetch_DanNum")%>
                                    </asp:Panel>
                                    <asp:Panel ID="P_Quote" runat="server" Visible='<%# Eval("ClsID").ToString().Contains("6")?true:false %>'>
                                        报价：<%# Eval("Quote_StockType")%><br>
                                        状态：<%# Eval("Quote_IsQuote")%><br>
                                        <asp:Label ID="L_Price" runat="server" Text="价格：" Visible='<%# News.IsQuote(Eval("Quote_IsQuote")) %>'></asp:Label><%# Eval("Quote_Price").ToString() == "0" ? "" : Eval("Quote_Price").ToString() %>
                                    </asp:Panel>
                                </td>
                                <td class="banma22_1" style="height: 25px; text-align: center;">
                                    <%# Eval("TypeName")%>
                                </td>
                                <td class="banma22_1" style="height: 25px; text-align: center;">
                                    <%# Eval("MRealName")%>
                                </td>
                                <td class="banma22_1" style="height: 25px; text-align: center;">
                                    <a class="thickbox" href="../System/User_View.aspx?UserKey=<%# Eval("UserID") %>&KeepThis=true&TB_iframe=true&height=550&width=650">
                                        <%# Eval("UserName").ToString() %> (<%# new Account().GetAccountShortCompanyName(Convert.ToInt32(Eval("UserID"))) %>)
                                </td>
                                <td class="banma22_1" style="height: 25px; text-align: center;">
                                    <%# News.GetClsNameWithColor(Eval("ClsName"))%>
                                </td>
                                <td class="banma22_1" style="height: 25px; text-align: left;">
                                    <a class="thickbox" href="../Business/Business_View.aspx?NewsKey=<%# Eval("NewsKey") %>&KeepThis=true&TB_iframe=true&height=550&width=650">
                                        <%# WebUtility.GetStringByLen(Eval("Content_Cus").ToString(), 20)%></a>
                                </td>
                                <td id="SheduleTime" runat="server" class="banma22_1" style="height: 25px; text-align: center;">
                                    <%# WebUtility.DateTimeToShort(Eval("TechOneTime")) %><br>
                                    <%# WebUtility.DateTimeToShort(Eval("TechTwoTime")) %>
                                </td>
                                <td id="DoTime" runat="server" class="banma22_1" style="height: 25px; text-align: center;">
                                    <%# WebUtility.DateTimeToShort(Eval("TechFiveTime"))%><br>
                                    <%# WebUtility.DateTimeToShort(Eval("TechSixTime")) %>
                                </td>
                                <td class="banma22_1" style="height: 25px; text-align: center;">
                                    <%# WebUtility.GetTimeSpanH(Eval("TechFiveTime"), Eval("TechSixTime"))%><%# WebUtility.GetTimeSpanM(Eval("TechFiveTime"), Eval("TechSixTime"))%>
                                </td>
                                <td class="banma22_1" style="height: 25px; text-align: center;">
                                    <%# WebUtility.DateTimeToString(Eval("UpdateTime"))%>
                                </td>
                                <td class="banma22_1" style="height: 25px; text-align: center;">
                                    <a class="thickbox" href="../System/User_View.aspx?UserKey=<%# Eval("UserKey") %>&KeepThis=true&TB_iframe=true&height=350&width=650">
                                        <%# GetUserRealName(Convert.ToInt32(Eval("UserKey")))%></a>
                                </td>
                                <td class="banma22_1" style="height: 25px; text-align: center;">
                                    <asp:LinkButton ID="del" runat="server" CommandName="del" CommandArgument='<%#Eval("NewsKey") %>' OnClientClick="return confirm('确认删除？');">删除</asp:LinkButton>
                                    <% if (UserType == 2 || UserType == 4)
                                       {  %>
                                    <a style="display: <%# Eval("Type").ToString()=="1"?"block":"none" %>" class="thickbox" href="../Business/Business_Shedule.aspx?menutype=<%= MenuType %>&Type=<%= Type4 %>&NewsKey=<%# Eval("NewsKey") %>&KeepThis=true&TB_iframe=true&height=550&width=650">任务分配</a>
                                    <% } %>
                                    <% if (UserType == 2 || UserType == 3 || UserType == 4)
                                       { %>
                                    <a style="display: <%# Eval("Type").ToString()!="1"?"block":"none" %>" class="thickbox" href="../Business/Business_Do.aspx?menutype=<%= MenuType %>&Type=<%= Type4 %>&NewsKey=<%# Eval("NewsKey") %>&KeepThis=true&TB_iframe=true&height=550&width=650">任务处理</a>
                                    <% } %>
                                </td>
                            </tr>
                        </AlternatingItemTemplate>
                    </asp:ListView>
                </table>
                <table width="98%" border="0" cellpadding="0" cellspacing="1" align="center">
                    <asp:DataPager ID="DataPager4" runat="server" PagedControlID="Lv_News4">
                        <Fields>
                            <asp:NumericPagerField CurrentPageLabelCssClass="currentpage" />
                        </Fields>
                    </asp:DataPager>
                </table>
                <!-- 任务未完成 end -->
            </td>
        </tr>
    </table>
    <%--<script type="text/javascript">
              var iframe1 = document.getElementById("iframe1");
              var load1 = document.getElementById("load1");
              iframe1.style.display = "none"; //隐藏
              load1.style.display = ""; //显示
              iframe1.onreadystatechange = function() {
                  if (this.readyState == "complete") {
                      load1.style.display = "none";
                      iframe1.style.display = "";
                  }
              }


              var iframe2 = document.getElementById("iframe2");
              var load2 = document.getElementById("load2");
              iframe2.style.display = "none";
              load2.style.display = ""; //显示
              iframe2.onreadystatechange = function() {
                  if (this.readyState == "complete") { 
                      load2.style.display = "none";
                      iframe2.style.display = "";
                  }
              }

              var iframe3 = document.getElementById("iframe3");
              var load3 = document.getElementById("load3");
              iframe3.style.display = "none";
              load3.style.display = ""; //显示
              iframe3.onreadystatechange = function() {
                  if (this.readyState == "complete") {
                      load3.style.display = "none";
                      iframe3.style.display = "";
                  }
              }
              
              var iframe4 = document.getElementById("iframe4");
              var load4 = document.getElementById("load4");
              iframe4.style.display = "none";
              load4.style.display = ""; //显示
              iframe4.onreadystatechange = function() {
                  if (this.readyState == "complete") { 
                      load4.style.display = "none";
                      iframe4.style.display = "";
                  }
              }
    </script> --%>
</asp:Content>
